<div class="bottom-dilog" ng-if="ctrl.view">
  <div class="bottom-dilog-model" ng-click="$parent.ctrl.view=false"></div>
  <div class="bottom-dilog-question a-bounceinB" ng-if="$parent.ctrl.type==='1'">
    <div class="bottom-dilog-content">
      <p ng-bind="$parent.$parent.ctrl.question"></p>
      <div class="bottom-dilog-ok" ng-bind="$parent.$parent.ctrl.oktxt" ng-click="$parent.$parent.ctrl.ok()"></div>
    </div>
    <div class="bottom-dilog-cancel" ng-bind="$parent.$parent.ctrl.closetxt" ng-click="$parent.$parent.ctrl.cancel()"></div>
  </div>

  <div class="bottom-dilog-list a-bounceinB" ng-if="$parent.ctrl.type==='2'">
    <div style="padding:0 0.1rem;border-radius: 0.2rem;background:#fff">
      <div ng-show="$parent.$parent.ctrl.title" ng-bind="$parent.$parent.ctrl.title" style="padding: 0.3rem 0;
      text-align: center;
      border-bottom: 1px solid #eee;">
      </div>
      <div class="bottom-dilog-content">
        <div class="bottom-dilog-list-li" ng-repeat="item in $parent.$parent.ctrl.list" ng-bind="item.txt" ng-click="$parent.$parent.$parent.ctrl.list_click(item,$index+1);"></div>
      </div>
    </div>
    <div class="bottom-dilog-cancel" ng-bind="$parent.$parent.ctrl.closetxt" ng-click="$parent.$parent.ctrl.cancel()"></div>
  </div>
</div>